package com.project.fiveCerealsSavoury.transfer;

import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.NotBlank;
import org.hibernate.validator.constraints.NotEmpty;

/**
 * 验证货物的参数
 * @author Administrator
 *
 */
public class GoodsNew {
	/**
	 * 编号
	 */
	private Integer id;
	
	
	private String goodName;
	
	
	private Double price;
	
	
	private Double nowPrice;
	
	
	private Integer count;
	
	
	private Double weight;


	public Integer getId() {
		return id;
	}


	public void setId(Integer id) {
		this.id = id;
	}


	public String getGoodName() {
		return goodName;
	}


	public void setGoodName(String goodName) {
		this.goodName = goodName;
	}


	public Double getPrice() {
		return price;
	}


	public void setPrice(Double price) {
		this.price = price;
	}


	public Double getNowPrice() {
		return nowPrice;
	}


	public void setNowPrice(Double nowPrice) {
		this.nowPrice = nowPrice;
	}


	public Integer getCount() {
		return count;
	}


	public void setCount(Integer count) {
		this.count = count;
	}


	public Double getWeight() {
		return weight;
	}


	public void setWeight(Double weight) {
		this.weight = weight;
	}


	@Override
	public String toString() {
		return "GoodsNew [id=" + id + ", goodName=" + goodName + ", price=" + price + ", nowPrice=" + nowPrice
				+ ", count=" + count + ", weight=" + weight + "]";
	}


}
